<%--
  Created by IntelliJ IDEA.
  User: dailyblue
  Date: 2023/4/2
  Time: 09:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>pageContext对象</title>
</head>
<body>
<%

  Object obj1 = pageContext.getAttribute("A");
  Object obj2 = pageContext.getAttribute("A", 2);
  Object obj3 = pageContext.getAttribute("A", 3);
  Object obj4 = pageContext.getAttribute("A", 4);

  out.print("obj1: " + obj1 + "<br/>");
  out.print("obj2: " + obj2 + "<br/>");
  out.print("obj3: " + obj3 + "<br/>");
  out.print("obj4: " + obj4 + "<br/>");
%>
</body>
</html>
